@echo off
if [%1]==[] echo Which source?
if [%1]==[] goto EOF
set pluginname=%1
set javapath="C:\Program Files (x86)\Java\jdk1.6.0_31\bin\"

%javapath%javac -cp .;res;jar\lwjgl.jar;jar\slick-util.jar;jar\lwjgl_util.jar;jar\jinput.jar; -d . src\*.java
echo -
echo -
if "%errorlevel%" NEQ "0" goto EOF
echo -
echo -
%javapath%java -cp .;res;jar\lwjgl.jar;jar\slick-util.jar;jar\lwjgl_util.jar;jar\jinput.jar; -Djava.library.path=native\windows sburb.sburb

:EOF
